package com.dingup.provider.service.student;

import com.dingup.api.bean.page.PageData;
import com.dingup.api.bean.requestBean.student.StudentPageBean;
import com.dingup.api.model.student.Student;
import com.dingup.api.model.sys.SysDept;
import com.dingup.api.model.sys.SysUser;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Created by wancheng on 2018/8/2.
 */
public interface StudentService {




    String save(SysUser user, List<Integer> roleIds);

    /*
    查询当前用户学生的校区所有集合
     */
    List<SysDept> getDeptByUserId(String userId);

    Boolean updateStudent(SysUser student, Long[] deptIds);

    Boolean freezeStudent(String studentId);

    Boolean activeStudent(String studentId,String password);

    PageData<Student> getStudent(Student student, List<String> userIds);

    Student getStudentById(String studentId);

    PageData<Student> getStudentByStudentPageBean(StudentPageBean studentPageBean, List<String> userIds);
}
